#ifndef LOADING_H
#define LOADING_H

#include <QWidget>
#include <QTimer>
#include <QDateTime>
#include <QThread>

namespace Ui {
class Loading;
}

class Loading : public QWidget
{
    Q_OBJECT

public:
    explicit Loading(QWidget *parent = 0);
    ~Loading();

    void Sleep(int msec);

    void Show_and_close();

    void closeEvent(QCloseEvent*);
signals:
    clo();

private:
    Ui::Loading *ui;
};

#endif // LOADING_H
